package com.ddyx.mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.ddyx.entity.Booking;

import tk.mybatis.mapper.common.Mapper;

@MyBatisRepository
public interface BookingMapper extends Mapper<Booking>{

	List<Map<String, Object>> getBooking(Map<String, Object> paramMap);

	Map<String, Object> getBookingDetails(Map<String, Object> paramMap);

	List<Map<String, Object>> getOverBooking(Map<String, Object> paramMap);

	void cleanBooking();

	Long getBookingCount(Map paramMap);

	Long getBooking2Count(String storeNo, Date startTime, Date endTime);

	Long getBookingCountByDay(String storeNo, Object object);

	List getBookerList(Map paramMap);

}
